projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b171a0d
)
[HVM] Save/restore: fix cset 14995
author
Tim Deegan
<Tim.Deegan@xensource.com>
Wed, 2 May 2007 13:53:27 +0000
(14:53 +0100)
committer
Tim Deegan
<Tim.Deegan@xensource.com>
Wed, 2 May 2007 13:53:27 +0000
(14:53 +0100)
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
xen/arch/x86/hvm/vmx/vmx.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/hvm/vmx/vmx.c
b/xen/arch/x86/hvm/vmx/vmx.c
index 5cc2674c852aac79e635d9e9b8c8037e36c9c6e9..ea20a8cfd2696909b814451f831968787d3462b5 100644
(file)
--- a/
xen/arch/x86/hvm/vmx/vmx.c
+++ b/
xen/arch/x86/hvm/vmx/vmx.c
@@
-610,7
+610,7
@@
int vmx_vmcs_restore(struct vcpu *v, struct hvm_hw_cpu *c)
addrbytes = 4;
else
addrbytes = 2;
- ilen = hvm_instruction_length(c->rip,
hvm_guest_x86_mode(v)
);
+ ilen = hvm_instruction_length(c->rip,
addrbytes
);
__vmwrite(VM_ENTRY_INSTRUCTION_LEN, ilen);
}